﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PBOffice.BLL;

public partial class DesktopControls_UCNews : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
			var news = new NewsManager();
			dlNews.DataSource = news.ShowAllNewsInfo().Take(5);
			dlNews.DataBind();
    }
}